.style-transfer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.style-transfer-content {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.title {
  font-size: 2rem;
  color: #333;
  text-align: center;
  margin-bottom: 1rem;
}

.subtitle {
  color: #666;
  text-align: center;
  margin-bottom: 2rem;
}

.error-message {
  background-color: #ffebee;
  color: #c62828;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.image-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.image-column h2 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.upload-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #f5f5f5;
  border: 2px dashed #ccc;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-button:hover {
  background-color: #e0e0e0;
  border-color: #999;
}

.upload-button input[type="file"] {
  display: none;
}

.image-preview {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.image-preview img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  display: block;
}

.delete-button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  color: #666;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.delete-button:hover {
  background-color: #ff5252;
  color: white;
}

.button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.submit-button,
.reset-button {
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button {
  background-color: #1976d2;
  color: white;
  border: none;
}

.submit-button:hover:not(:disabled) {
  background-color: #1565c0;
}

.submit-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.reset-button {
  background-color: transparent;
  color: #666;
  border: 1px solid #ccc;
}

.reset-button:hover {
  background-color: #f5f5f5;
}

.result-section {
  margin-top: 2rem;
  text-align: center;
}

.result-section h2 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.result-image-container {
  background-color: #f5f5f5;
  border-radius: 4px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.result-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .style-transfer-container {
    padding: 1rem;
  }

  .style-transfer-content {
    padding: 1rem;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

  .button-group {
    flex-direction: column;
  }

  .submit-button,
  .reset-button {
    width: 100%;
  }
} 